GtkFileChooser: don't override already opened folder
authorРуслан Ижбулатов <lrn1986@gmail.com>
Mon, 9 May 2016 12:48:07 +0000 (12:48 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Thu, 26 May 2016 11:44:13 +0000 (11:44 +0000)
commitfcd3321fa7b675e940760c9b08ca9ade9e1e8b1d
tree34865d2952b3b1fb0b76398216f5ebcda4145785
parent0fa3c3b73175a5f9de7a35c73f11bb7ea57b8e8a
GtkFileChooser: don't override already opened folder

When filechooer is re-used (instead of being created and destroyed
every time it's needed), it might happen that the directory the
application wishes to initially show is the same directory that
was shown last time the filechooser was used. In that case, make sure
filechooser knows that it does not need to do its default "select $pwd
or $home" routine.

https://bugzilla.gnome.org/show_bug.cgi?id=766122
gtk/gtkfilechooserwidget.c